Component({
    properties: {
        datas: {
            type: null
        },
        component_id: {
            type: null
        }
    },
    data: {
        emptyImage: "https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/image.png",
        clientWidth: "375",
        iPnoneBottomBol: !1,
        showcarrfootBol: !0
    },
    lifetimes: {
        attached: function() {},
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {
        this.getiPnoneBottom();
    },
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        openPster: function(a) {
            console.log("触发哪个跳转"), this.setData({
                isshow: !0
            });
        },
        getiPnoneBottom: function() {
            try {
                wx.getStorageSync("iPhoneBottom") && this.setData({
                    iPnoneBottomBol: !0
                });
            } catch (a) {}
        },
        tosearch: function() {
            1 != this.data.datas.web_design_enable || "3" === this.data.datas.search_page || "store" === this.data.datas.search_type ? "3" !== this.data.datas.search_page && 3 !== this.data.datas.search_page ? "store" === this.data.datas.search_type ? wx.navigateTo({
                url: "/packageC/o2o/o2oSearch/o2oSearch?city=1&point={}"
            }) : wx.navigateTo({
                url: "/packageB/member/category/search_v2/search_v2"
            }) : wx.navigateTo({
                url: "/packageI/searchPage/searchPage?searchPage=" + this.data.datas.search_page
            }) : wx.navigateTo({
                url: "/packageI/searchPage/searchPage"
            });
        }
    }
});